{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>{$seo_title}</title>
    <link href="__PUBLIC__/dist/css/swiper.min.css" rel="stylesheet">
    <include file="Index:mate" />
    <!-- Swiper -->
</head>

<body>
    <!-- Header -->
    <include file="Index:nav" />
    <!-- Header End -->

    <!-- Banner -->
    <section class="banner">
        <!-- Swiper -->
        <div class="swiper-container">
            <div class="swiper-wrapper">

                <!-- 幻灯片 -->
                <!-- <foreach name="hdp" item="vo"> -->
                <div class="swiper-slide" style="background-image:url(http://hgedu.fjhgkj.com{$vo.pic})">
                    <a href="{$vo.link}" title="{$vo.title}"></a>
                </div>
                <!-- </foreach> -->
                <!-- 幻灯片 end -->
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination"></div>
        </div>
    </section>
    <!-- Banner End -->
    <section class="post container">
        <div>
            <a href="index.php?g=Mobile&a=major&pid=1">
                <img src="__PUBLIC__/dist/image/icon/icon-post1.png">
                <h3>动漫游戏</h3>
            </a>
            <a href="index.php?g=Mobile&a=major&pid=2">
                <img src="__PUBLIC__/dist/image/icon/icon-post2.png">
                <h3>服装设计</h3>
            </a>
            <a href="index.php?g=Mobile&a=major&pid=3">
                <img src="__PUBLIC__/dist/image/icon/icon-post3.png">
                <h3>平面设计</h3>
            </a>
            <a href="index.php?g=Mobile&a=major&pid=4">
                <img src="__PUBLIC__/dist/image/icon/icon-post4.png">
                <h3>室内设计</h3>
            </a>
            <a href="index.php?g=Mobile&a=major&pid=5">
                <img src="__PUBLIC__/dist/image/icon/icon-post5.png">
                <h3>工艺美术</h3>
            </a>
            <a href="index.php?g=Mobile&a=major&pid=6">
                <img src="__PUBLIC__/dist/image/icon/icon-post6.png">
                <h3>数字媒体</h3>
            </a>

            <a>
                <img src="__PUBLIC__/dist/image/icon/icon-post0.png">
                <h3>敬请期待</h3>
            </a>
        </div>
    </section>

    <div class="project-box">

        <switch name="ms">
                
            <case value="2|3">
                <!-- 老师 -->
                <section class="subnav">
                    <div>匹配专业</div>
                </section>
                <section class="project">
                    <div class="container">
                        <!-- <foreach name='zy' item="vo"> -->
                        <if condition="$vo['acctype']['val'] == 'in'">
                            <!-- 专业列表 start -->
                            <include file="Index:index_gw" />
                            <!-- 专业列表 end -->
                        </if>
                        <!-- </foreach> -->
                    </div>
                </section>
                <section class="subnav">
                    <div>其他共建专业</div>
                </section>
                <section class="project">
                    <div class="container">
                        <div class="project-state">已参与</div>
                        <!-- <foreach name='zy' item="vo"> -->
                        <if condition="$vo['acctype']['val'] == 'nin'">
                            <!-- 专业列表 start -->
                            <include file="Index:index_gw" />
                            <!-- 专业列表 end -->
                        </if>
                        <!-- </foreach> -->
                    </div>
                </section>
                <section class="project not">
                    <div class="container">
                        <div class="project-state not">未参与</div>
                        <!-- <foreach name='zy' item="vo"> -->
                        <if condition="$vo['acctype']['val'] == 'all'">
                            <!-- 专业列表 start -->
                            <include file="Index:index_gw" />
                            <!-- 专业列表 end -->
                        </if>
                        <!-- </foreach> -->

                    </div>
                </section>
                <!-- 老师 end-->
            </case>
            <case value="1">
                <!-- 学校 -->
                <!-- 学校 已参与-->
                <section class="subnav">
                    <div>全部共建专业</div>
                </section>
                <section class="project">
                    <div class="container">
                        <div class="project-state not">已参与</div>
                        <!-- <foreach name='zy' item="vo"> -->
                        <if condition="$vo['acctype']['val'] == 'in'">
                            <!-- 专业列表 start -->
                            <include file="Index:index_gw" />
                            <!-- 专业列表 end -->
                        </if>
                        <!-- </foreach> -->
                    </div>
                </section>
                <!-- 学校 已参与 end-->
                <!-- 学校 未参与 -->
                <section class="project not">
                    <div class="container">
                        <div class="project-state not">未参与</div>
                        <!-- <foreach name='zy' item="vo"> -->
                        <if condition="$vo['acctype']['val'] == 'all'">
                            <!-- 专业列表 start -->
                            <include file="Index:index_gw" />
                            <!-- 专业列表 end -->
                        </if>
                        <!-- </foreach> -->
                    </div>
                </section>
                <!-- 学校未参与 end-->
                <!-- 学校 end-->
            </case>
            <default />
            <!-- 游客 -->
            <section class="subnav">
                <div>全部专业</div>
            </section>
            <section class="project">
                <div class="container">
                    <!-- <foreach name='zy' item="vo"> -->
                    <!-- 专业列表 start -->
                    <include file="Index:index_gw" />
                    <!-- 专业列表 end -->
                    <!-- </foreach> -->
                </div>
            </section>
            <!--  游客 end-->

        </switch>
    </div>

    <include file="Index:footer" />
    <script src="__PUBLIC__/dist/js/swiper.min.js"></script>
    <script>
        $(function () {
            var swiper = new Swiper('.swiper-container', {
                autoplay: 3000, //可选选项，自动滑动
                pagination: '.swiper-pagination',
                paginationClickable: true,
            })
            //图片懒加载
            srcollLoadImg(function ($obj) {
                var $img = $obj;
                //比例
                var h = $img.width() / 1.75 + "px";
                $img.height(h);
            });
        })
    </script>
</body>

</html>